package com.Sinewecology.SendMessage;

import com.entrogy.bean.PubCountEntity;

import java.util.ArrayList;
import java.util.List;

public class WechatMsgDataBean {
	PubCountEntity pubCountEntity;
	String templateId;
	String url;//模板跳转链接
	String miniProgramAppId;
	String pagepath;
	String params1;
	List<String> keyword = new ArrayList<String>();

	private Integer messageRecordId;

	public Integer getMessageRecordId() {
		return messageRecordId;
	}

	public void setMessageRecordId(Integer messageRecordId) {
		this.messageRecordId = messageRecordId;
	}

	public String getParams1() {
		return params1;
	}

	public void setParams1(String params1) {
		this.params1 = params1;
	}

	public String getTemplateId() {
		return templateId;
	}
	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getMiniProgramAppId() {
		return miniProgramAppId;
	}
	public void setMiniProgramAppId(String miniProgramAppId) {
		this.miniProgramAppId = miniProgramAppId;
	}
	public List<String> getKeyword() {
		return keyword;
	}
	public void setKeyword(String  []tmp) {
		for(int i=0 ; i<tmp.length; i++)
			keyword.add(tmp[i]);
	}

	public String getPagepath() {
		return pagepath;
	}

	public void setPagepath(String pagepath) {
		this.pagepath = pagepath;
	}

	public PubCountEntity getPubCountEntity() {
		return pubCountEntity;
	}

	public void setPubCountEntity(PubCountEntity pubCountEntity) {
		this.pubCountEntity = pubCountEntity;
	}

	@Override
	public String toString() {
		return "WechatMsgDataBean [openId=" + pubCountEntity.getOpenid() + ", templateId=" + templateId + ", url=" + url
				+ ", miniProgramAppId=" + miniProgramAppId + ", pagepath=" + pagepath
				+ ", keyword=" + keyword + "]";
	}
}
